import request from '@/utils/request'

// 查询ATM钞箱机构列表
export function listAtmCassetteRepairRecord(query) {
  return request({
    url: '/service/atmCassetteRepairRecord/list',
    method: 'get',
    params: query
  })
}

// 查询ATM钞箱机构详细
export function getAtmCassetteRepairRecord(id) {
  return request({
    url: '/service/atmCassetteRepairRecord/' + id,
    method: 'get'
  })
}

// 新增ATM钞箱机构
export function addAtmCassetteRepairRecord(data) {
  return request({
    url: '/service/atmCassetteRepairRecord',
    method: 'post',
    data: data
  })
}

// 修改ATM钞箱机构
export function updateAtmCassetteRepairRecord(data) {
  return request({
    url: '/service/atmCassetteRepairRecord',
    method: 'put',
    data: data
  })
}

// 删除ATM钞箱机构
export function delAtmCassetteRepairRecord(id) {
  return request({
    url: '/service/atmCassetteRepairRecord/' + id,
    method: 'delete'
  })
}
